package com.gxa.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@ApiModel("大门管理实体类")
@Data
@TableName("door")
public class Door {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("开门时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date openTime;

    @ApiModelProperty("开门方式 0为全部开门 1为自习室开门 2为扫码开门 3为后台开门")
    private Integer manner;

    @ApiModelProperty("开门人手机号")
    private String tel;
}
